<template>
  <div>
	  <div v-for="(item,index) in notices">
		  <div class="ql-editor" v-html="item.noticeContent"></div>
	  </div>
  </div>
  
</template>
<script>
export default {
  data() {
    return {
		notices:[]
    }
  },
  beforeMount() {
  	this.fetchData()
  },
	methods:{
		fetchData(){
			this.$http.get('/sys/sysnotice/all').then(res => {
				this.notices=res.data.data
				console.log(this.notices)
			})
		}
	}
}
	
</script>
<style>
.mod-home {
  line-height: 1.5;
}
</style>
